﻿@model InfoTech.VinhSon.Bussiness.Category
@{
    ViewBag.Title = Model.Name;
    Layout = "~/Views/Shared/_2Column.cshtml";
}
@section rightcolumn
{
    @Html.Action("RightColumn")
}
@section css
{
    <link href="@Url.Content("~/scripts/fancybox/jquery.fancybox.css")" rel="stylesheet" type="text/css" />
}
@section script
{
    <script language="javascript" src="@Url.Content("~/Scripts/fancybox/jquery.fancybox.js")"></script>
    <script language="javascript" src="@Url.Content("~/Scripts/fancybox/helpers/jquery.fancybox-media.js")"></script>
    <script language="javascript">
        $(document).ready(function () {
            $('.photo-galerry-item a')
				.attr('rel', 'media-gallery')
				.fancybox({
				    openEffect: 'none',
				    closeEffect: 'none',
				    prevEffect: 'none',
				    nextEffect: 'none',

				    arrows: false,
				    helpers: {
				        media: {},
				        buttons: {}
				    }
				});
        })
    </script>
}
<div class="category_title1">
    @Model.Name
</div>
<div class="seperator1">
</div>
@Html.Action("VideoArticle",
             new
                 {
                     Model.Id,
                     page = Request.QueryString["page"]
                 })
@Html.Action("PagingArticle",
             new
                 {
                     category = Model,
                     page = Request.QueryString["page"]
                 })
